package com.example.interceptmybatis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.interceptmybatis.entity.TbUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * @ClassName TbUserMapper
 * @Description TODO
 * @Author 郭敖
 * @Date 2024年07月04日 15:42
 * @Version 1.0
 */
@Mapper
public interface TbUserMapper extends BaseMapper<TbUser> {

    @Select("select * from tb_user")
    List<Map<String,Object>> getUserMap();
}
